<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>班级列表</title>
</head>
<body>
    {% for grand in getlist %}
        <li><a href="{% url 'myapp:get_student' grand.id %}">{{ grand.g_name }}</a></li>
    {% endfor %}
    
</body>
</html>